		<div class="navbar">
			<div class="navbar-inner">
				<div class="container" style="width: auto;">
					<div class="container">
						<ul class="nav pull-left">
							<li class="active">
								<a href="<?php echo site_url('vendorhome') ?>">Home</a>
							</li>
							<?php
							if($this->session->userdata('useremail'))
							{
								echo '
								';
							}
							?>
						</ul>
						<ul class="nav pull-right">
							<?php 
							if($this->session->userdata('useremail'))
							{
								echo '
								<li>
									<a id="logout" href="' . site_url("vendorhome/logout") . '">Log off ' . $this->session->userdata('useremail') . '</a>
								</li>
								';
							}
							else
							{
								echo '
								<li>
									<a id="login" rel="popover" data-content="<form name=\'input\' action=\'' . site_url("vendorhome/login") . '\' method=\'post\'><label for=\'username\'>Login: </label><input type=\'text\' name=\'username\' /><label for=\'password\'>Password: </label><input type=\'password\' name=\'password\' /><input type=\'submit\' value=\'Login\' /><input type=\'button\' class=\'recover-password-btn\' value=\'Recover Password\'></form>">
										<i class="icon-user icon-white"></i>
										Login
									</a>
								</li>
								';
							}
							?>
						</ul>
					</div>
				</div>
			</div>
		</div>